import request from '@/utils/request'

// 查询用户签到记录列表
export function listSignLog(query) {
  return request({
    url: '/client/signLog/list',
    method: 'get',
    params: query
  })
}

// 查询用户签到记录详细
export function getSignLog(id) {
  return request({
    url: '/client/signLog/' + id,
    method: 'get'
  })
}

// 新增用户签到记录
export function addSignLog(data) {
  return request({
    url: '/client/signLog',
    method: 'post',
    data: data
  })
}

// 修改用户签到记录
export function updateSignLog(data) {
  return request({
    url: '/client/signLog',
    method: 'put',
    data: data
  })
}

// 删除用户签到记录
export function delSignLog(id) {
  return request({
    url: '/client/signLog/' + id,
    method: 'delete'
  })
}
